﻿using System;
using System.Collections.Generic;
using Autodesk.Revit.DB;

namespace LightingEquipmentLay.RegionSearch
{
	public class RegionFuncInfo
	{
		public RegionFuncInfo()
		{
			this.ERegionFunc = ERegionFunc.eOthers;
			this.BoundaryCvs = new CurveArray();
			this.IsLayoutCompleted = false;
		}

		public void SetCurves(List<Curve> lstCvs)
		{
			lstCvs.ForEach(delegate(Curve e)
			{
				this.BoundaryCvs.Append(e);
			});
		}

		public CurveArray BoundaryCvs { get; set; }

		public ERegionFunc ERegionFunc { get; set; }

		public bool IsLayoutCompleted { get; set; }
	}
}
